package com.zhongshan.ga.mybatis.dao;

import java.util.ArrayList;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.zhongshan.ga.mybatis.bean.ActivityInfo;

/**
 * 活动接口
 * @author kakaxi
 *
 */
public interface IActivityInfoDao {
	/**
	 * 获得活动列表数据
	 * @param startIndex 开始标志
	 * @param endIndex 结束标志
	 * @return
	 */
	@Select("SELECT * FROM activityinfo where IsActivity = 1 ORDER BY orderNum LIMIT #{startIndex},#{endIndex}")
	public ArrayList<ActivityInfo> getAllActivityInfo (Map<String, Integer> getArtifactInfoListMap);
}
